summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Kinloch <colin.kinloch@collabora.com>2022-12-29 15:25:22 +0100
committerColin Kinloch <colin.kinloch@collabora.com>2022-12-29 16:55:24 +0100
commit8594f287b83006a0aa11dfadbf174e5320873ab3 (patch)
tree1a50c92d8bdca6eb7a102bb387a42202fa40ba0e
parentsettings: warn on invalid regon/language combinations (diff)
downloadyuzu-8594f287b83006a0aa11dfadbf174e5320873ab3.tar
yuzu-8594f287b83006a0aa11dfadbf174e5320873ab3.tar.gz
yuzu-8594f287b83006a0aa11dfadbf174e5320873ab3.tar.bz2
yuzu-8594f287b83006a0aa11dfadbf174e5320873ab3.tar.lz
yuzu-8594f287b83006a0aa11dfadbf174e5320873ab3.tar.xz
yuzu-8594f287b83006a0aa11dfadbf174e5320873ab3.tar.zst
yuzu-8594f287b83006a0aa11dfadbf174e5320873ab3.zip
-rw-r--r--src/yuzu/configuration/configure_system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp
index 37a98bea1..13bbc4ad9 100644
--- a/src/yuzu/configuration/configure_system.cpp
+++ b/src/yuzu/configuration/configure_system.cpp
@@ -25,7 +25,7 @@ constexpr std::array<u32, 7> LOCALE_BLOCKLIST{
};
static bool IsValidLocale(u32 region_index, u32 language_index) {
- return ((LOCALE_BLOCKLIST[region_index] >> language_index) & 1) == 0;
+ return ((LOCALE_BLOCKLIST.at(region_index) >> language_index) & 1) == 0;
}
ConfigureSystem::ConfigureSystem(Core::System& system_, QWidget* parent)